package com.hxh.learn.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 系统角色
 * </p>
 *
 * @author hxh
 * @since 2023-03-02
 */
@Data
@TableName("sys_rule")
@ApiModel(value = "SysRule对象", description = "系统角色")
public class SysRule implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type= IdType.ASSIGN_ID)
    @ApiModelProperty("角色id")
    private String roleId;

    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("角色描述")
    private String roleDoc;

    @ApiModelProperty("创建时间")
    private Long createTime;

    @ApiModelProperty("创建人")
    private String creatUser;

    @ApiModelProperty("修改时间")
    private Long updateTime;

    @ApiModelProperty("修改人")
    private String updateUser;
}
